<template>
  <div class="step-box">
    <el-steps :active="step-1" finish-status="success" align-center>
      <el-step
        v-for="(item, index) in stepList"
        :key="index"
        :title="item.title"
      />
    </el-steps>
  </div>
</template>

<script>
export default {
  name: 'Steps',
  props: {
    step: {
      type: Number,
      default: 1
    },
    stepList: {
      type: Array,
      default: () => []
    }
  },
  data() {
    return {
    }
  }
}
</script>

<style lang="scss" scoped>
@import '@/components/Approve/step.scss';
</style>
